package com.dingwen.treasure.manage.service;

import com.rabbitmq.client.Channel;
import org.springframework.amqp.core.Message;

import java.io.IOException;

/**
 * 　SmsService: 短信服务
 * 　@author dingwen
 * 　@date 2022/6/5
 *
 */
public interface SmsService {

    /**
     * 发送
     *
     * @param messages 信息主体
     * @param message  消息
     * @param channel  频道
     * @throws IOException IO异常
     */
    void send(Message messages, String message, Channel channel) throws IOException;
}
